﻿<UserControl x:Class="WbfsSync.Controls.PathBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:WbfsSync.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="24" d:DesignWidth="491">
    <Grid>
        
        <!-- Background -->
        
        <ProgressBar Name="MainProgress" Visibility="Hidden" />
        
        <Rectangle Name="RectangleBack3" Margin="0,0,0,0" StrokeThickness="1" RadiusX="1" RadiusY="1" IsHitTestVisible="False">
            <Rectangle.Stroke>
                <SolidColorBrush Color="#50FFFFFF" />
            </Rectangle.Stroke>
        </Rectangle>

        <Rectangle Name="RectangleBack2" Margin="1,1,1,1" StrokeThickness="1" RadiusX="1" RadiusY="1" IsHitTestVisible="False">
            <Rectangle.Stroke>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="#90000000" Offset="0"/>
                    <GradientStop Color="#20000000" Offset="1"/>
                </LinearGradientBrush>
            </Rectangle.Stroke>
        </Rectangle>
        
        <Rectangle Name="RectangleBack1" Margin="2,2,2,2" StrokeThickness="1" RadiusX="1" RadiusY="1">
            <Rectangle.Stroke>
                <SolidColorBrush Color="#D0FFFFFF" />
            </Rectangle.Stroke>
        </Rectangle>
        
        <!-- Foreground -->
        
        <Image Name="iconImage" Width="16" Height="16" HorizontalAlignment="Left" 
               VerticalAlignment="Center" Margin="4,0,0,0" />
        
        <Image Source="../Icons/Navigation/navbar_arrowr.png" 
               Height="7" Width="8" HorizontalAlignment="Left" 
               Margin="25,1,0,0"/>

        <ScrollViewer x:Name="mainScroll"
                      Margin="37,0,26,0" HorizontalScrollBarVisibility="Hidden"
                      VerticalScrollBarVisibility="Hidden">
            <StackPanel Name="pathStack" Orientation="Horizontal">
            </StackPanel>
        </ScrollViewer>

        <local:ImageButton ImageSource="../Icons/Navigation/navbar_refresh.png" Width="25" Height="20" 
                           x:Name="refreshButton" Margin="0,0,2,0" HorizontalAlignment="Right" 
                           VerticalAlignment="Center"/>

    </Grid>
</UserControl>
